import request from '@/utils/request'

// 查询监测点信息列表
export function listMonitorpoints(query) {
  return request({
    url: '/slope/monitorpoints/list',
    method: 'get',
    params: query
  })
}

// 查询监测点信息列表
export function listMonitorPoints() {
  return request({
    url: '/slope/monitorpoints/listMonitorPoints',
    method: 'get',
  })
}

// 查询监测点信息详细
export function getMonitorpoints(id) {
  return request({
    url: '/slope/monitorpoints/' + id,
    method: 'get'
  })
}

// 新增监测点信息
export function addMonitorpoints(data) {
  return request({
    url: '/slope/monitorpoints',
    method: 'post',
    data: data
  })
}

// 修改监测点信息
export function updateMonitorpoints(data) {
  return request({
    url: '/slope/monitorpoints',
    method: 'put',
    data: data
  })
}

// 删除监测点信息
export function delMonitorpoints(id) {
  return request({
    url: '/slope/monitorpoints/' + id,
    method: 'delete'
  })
}
